Compilation errors when building with usbstub.
authorRobert Lipe <robertlipe@gpsbabel.org>
Fri, 9 Dec 2016 23:17:06 +0000 (17:17 -0600)
committerRobert Lipe <robertlipe@gpsbabel.org>
Fri, 9 Dec 2016 23:17:06 +0000 (17:17 -0600)
jeeps/gpsusbstub.cc

index 28fc39d2a408f4da54d2e6637565a484017d6c66..5664b1900e6bcfd6f386777e301e5bc87479ddba 100644 (file)
@@ -25,6 +25,7 @@
 #endif
 
 #include "../defs.h"
+#include "src/core/logging.h"
 
 #if !HAVE_LIBUSB
 
@@ -33,7 +34,7 @@ typedef struct gpsdevh gpsdevh;
 int
 gusb_init(const char* portname, gpsdevh** dh)
 {
-  fatal(no_usb);
+  Fatal() << no_usb;
   return 0;
 }